[Bug]:"Confirm Password" field added in signup page #308
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds a "Confirm Password" field to the signup page to enhance user experience by ensuring that users enter their desired password correctly during registration. Additionally, it includes backend validation to ensure the password and confirm password fields match before creating a new account. This enhancement will reduce user errors and improve overall security.
Fixes #287
Type of change
1.Frontend Changes:
Signup Component:
Added a new input field for "Confirm Password" in the signup form.
Implemented a visibility toggle for the confirm password field similar to the password field.
2.Backend Changes:
Auth Controller:
Added validation logic to check if the password and confirm password fields match before proceeding with account creation.
If the passwords do not match, the server responds with an appropriate error message.
Please give a X on it which is applicable
How Has This Been Tested?
Manually tested the signup form to ensure the confirm password field functions correctly.
Verified that the form does not submit if the passwords do not match and an error message is shown.
Test A Describe here
Screenshorts and Vedios:
freecompress-foodwebconfirmpassword.mp4
Checklist:
give a X on it which is applicable